nums = [int(x) for x in input().split()]
if nums[0] * 30 < sum(nums):
    print('Yes')
else:
    print('No')
    